package com.example.wlt.personnel_manegement_system.Manager.My;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;

import com.example.wlt.personnel_manegement_system.R;

/**
 * Created by WLT on 2016/4/22.
 */
public class Changeaccount extends Activity{
    private Button btn_back;//返回按钮
    private TextView tv_getcode;//验证码
    private Button btn_submit;//提交按钮
    private TextView tv_head;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.mycenter_changeaccount);
       btn_back=(Button)findViewById(R.id.btn_org_headleft);
        tv_getcode=(TextView)findViewById(R.id.tv_changeacc_getcode);
       btn_submit=(Button)findViewById(R.id.btn_changeacc_submit);
        tv_head=(TextView)findViewById(R.id.tv_top_head);
        tv_head.setText("修改账号");
        //返回个人首页
       btn_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        //获取验证码
        tv_getcode.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                
            }
        });
        //提交新账号
        btn_submit.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(Changeaccount.this, "您已修改成功账号", Toast.LENGTH_SHORT).show();
                finish();
            }
        });
    }
}
